home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / richmail / Makefile < prev    next >
Encoding:
Makefile  |  1993-03-15  |  1.4 KB  |  54 lines

  1. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  2. # Permission to use, copy, modify, and distribute this material 
  3. # for any purpose and without fee is hereby granted, provided 
  4. # that the above copyright notice and this permission notice 
  5. # appear in all copies, and that the name of Bellcore not be 
  6. # used in advertising or publicity pertaining to this 
  7. # material without the specific, prior written permission 
  8. # of an authorized representative of Bellcore.  BELLCORE 
  9. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  10. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  11. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  12. #
  13. FOOBAR-sun4=-Bstatic
  14.  
  15. VERS=2.3.6
  16.  
  17. STATICFLAG=FOOBAR${HOST_ARCH}
  18.  
  19. CFLAGS = -g -I.  ${$(STATICFLAG)} 
  20.  
  21. LDLIBS =
  22.  
  23. CONFIGDIR = ..
  24.  
  25. LOCALCFLAGS= -I${CONFIGDIR} ${CFLAGS}
  26.  
  27. .c.o:
  28.     rm -f $@
  29.     $(CC) -c  $(LOCALCFLAGS) $*.c
  30.  
  31. RICHOBJS=richlex.o richset.o usascii.o iso2022.o
  32.  
  33. all:  richtext richtoatk
  34.  
  35. richtext: richtext.o $(RICHOBJS)
  36.     $(CC) ${LOCALCFLAGS} -o richtext richtext.o $(RICHOBJS) -ltermcap $(LDLIBS)
  37.  
  38. richtoatk: richtoatk.o $(RICHOBJS)
  39.     $(CC) ${LOCALCFLAGS} -o richtoatk richtoatk.o $(RICHOBJS) $(LDLIBS)
  40.  
  41. richtext.o:    richlex.h richset.h
  42. richtoatk.o:    richlex.h
  43. richlex.o:    richlex.h richset.h
  44. richset.o:    richlex.h richset.h
  45. usascii.o:    richlex.h richset.h
  46. iso2022.o:    richlex.h richset.h
  47.  
  48. clean:
  49.     -rm -f richtext richtoatk *.o *.BAK
  50.  
  51. tar:
  52.     tar cvf richtext-$(VERS).tar *.c *.h richtext.1 Makefile COMMANDS NOTES
  53.